<?php
	
	include ("project.php");
	if($_POST)
	{	
		switch($_POST["method"]){
			case "GetAllProjects": echo(json_encode(Project::GetAllProjects())); break;
			case "DeleteProject": echo(json_encode(Project::DeleteProject())); break;
			case "SaveProject": echo(json_encode(Project::SaveProject())); break;
			case "GetLoginScreenProjects": echo(json_encode(Project::GetLoginScreenProjects())); break;
			
		}
	}
?>